package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Member;

import java.util.List;

public interface MemberService {
    Member findByTelePhone(String telephone);

    void add(Member member);

    PageResult findPage(QueryPageBean queryPageBean);

    Member findById(Integer id) throws Exception;

    void update(Member member);

    void delete(Integer id);

    List<Integer> findMemberCountByMonths(List<String> months);

}
